package com.fenger.contast;

public interface SysConstast {


    /**
     * 默认头像地址
     */
    String SYSTEM_DEFAULT_IMGPATH = "/resources/images/userface4.jpg";

    /**
     * 默认密码
     */
    String SYSTEM_DEFAULT_PASSWORD = "123456";
    /**
     * PERMISSION 可用
     */
    Integer AVAILABLE_TRUE = 1;
    Integer AVAILABLE_FALSE = 0;

    /**
     * PERMISSION 类型
     */
    String TYPE_PERMISSION_MENU = "menu";
    String TYPE_PERMISSION_PERMISSION = "permission";
    Integer USER_SUPER = 0;
    Integer USER_NORMAL = 1;

    Integer STATUS_OPEN_TRUE = 1;
    Integer STATUS_OPEN_FALSE = 0;

    Integer SUCCESS_CODE = 0;
    Integer ERROR_CODE = 1;

    String SUCCESS_MSG = "操作成功";
    String ERROR_MSG = "操作失败";


    String ADD_SUCCESS_MSG = "添加成功";
    String ADD_ERROR_MSG = "添加失败";

    Integer ADD_SUCCESS_CODE = 200;
    Integer ADD_ERROR_CODE = -1;
    Integer OPERATOR_SUCCESS_CODE = 200;
    Integer OPERATOR_ERROR_CODE = -1;

    String UPDATE_SUCCESS_MSG = "修改成功";
    String UPDATE_ERROR_MSG = "修改失败";

    String PASSWORD_ERROR_MSG = "原始密码错误,请重试";
    String NOT_LOGINNAME_ERROR_MSG = "不存在的登录名";

    Integer UPDATE_SUCCESS_CODE = 200;
    Integer UPDATE_ERROR_CODE = -1;

    String DELETE_SUCCESS_MSG = "删除成功";
    String DELETE_ERROR_MSG = "删除失败";

    Integer DELETE_SUCCESS_CODE = 200;
    Integer DELETE_ERROR_CODE = -1;

    Integer HAS_CHILDREN_CODE = 200;
    Integer NOT_HAS_CHILDREN_CODE = -1;

    String DISPATCHER_SUCCESS_MSG = "分配成功";
    String DISPATCHER_ERROR_MSG = "分配失败";

    Integer DISPATCHER_SUCCESS_CODE = 200;
    Integer DISPATCHER_ERROR_CODE = -1;

    String RESET_SUCCESS_MSG = "重置成功";
    String RESET_ERROR_MSG = "重置失败";

    Integer RESET_SUCCESS_CODE = 200;
    Integer RESET_ERROR_CODE = -1;


}
